package com.trackerapp.model;

public class PushMessage {
	
	long id;
	String push_message;
	String push_messag_id;	
	String sender;
	long created_at;
	
	public PushMessage() { 
		created_at = System.currentTimeMillis()/1000;
	}
	public PushMessage(String message, String message_id,String sender) {
		this.push_message = message;
		this.push_messag_id = message_id;
		this.sender = sender;
		created_at = System.currentTimeMillis()/1000;
	}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getPush_message() {
		return push_message;
	}
	public void setPush_message(String push_message) {
		this.push_message = push_message;
	}
	public String getPush_messag_id() {
		return push_messag_id;
	}
	public void setPush_messag_id(String push_messag_id) {
		this.push_messag_id = push_messag_id;
	}
	public String getSender() {
		return sender;
	}
	public void setSender(String sender) {
		this.sender = sender;
	}
	
	public void setCreatedAt(long time) {
		this.created_at = time;
	}

	public long getCreatedAt() {
		return this.created_at;
	}
}
